<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">

		<title>管理员登陆</title>

		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
	<link rel="stylesheet" type="text/css" href="css/index.css">

	</head>

	<body bgcolor="#cbeeeb">
	<%@include file="header1.jsp" %>
	<div>
	<center>
		<% String clearsession = request.getParameter("user"); 
if(clearsession != null && clearsession.equals("true")){ 
    session.invalidate(); 
};
%>

		<form action="login!login" method="post">
			用户名：<input type="text" name="manager.mname">
			<br>
			密         &nbsp;&nbsp;码：<input type="password" name="manager.mpw" id="a"><br/>
			<input type="submit" value="登陆">
			<input type="reset" value="重置"><br/>
			<span style="color: red">${message}</span>
			<a href="index.jsp">我不是管理员，我只想查查我的借书记录，请点击</a>
		</form>
		</center></div>
	</body>
</html>
